home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / librw / RWInteger.z / RWInteger
Encoding:
Text File  |  1998-10-30  |  4.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4. RRRRWWWWIIIInnnntttteeeeggggeeeerrrr((((3333CCCC++++++++))))                                                RRRRWWWWIIIInnnntttteeeeggggeeeerrrr((((3333CCCC++++++++))))
  5.  
  6.  
  7.  
  8. NNNNaaaammmmeeee
  9.      RWInteger - Rogue Wave library class
  10.  
  11. SSSSyyyynnnnooooppppssssiiiissss
  12.               #include <rw/rwint.h>
  13.  
  14.  
  15.  
  16.               RWInteger i;
  17.  
  18.  
  19.  
  20.  
  21. DDDDeeeessssccccrrrriiiippppttttiiiioooonnnn
  22.      Integer class.  This class is useful as a base class for classes that use
  23.      integers as keys in dictionaries, eeeettttcccc.
  24.  
  25. PPPPeeeerrrrssssiiiisssstttteeeennnncccceeee
  26.      Isomorphic
  27.  
  28. PPPPuuuubbbblllliiiicccc CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrrssss
  29.               RRRRWWWWIIIInnnntttteeeeggggeeeerrrr();
  30.  
  31.  
  32.      Construct an RRRRWWWWIIIInnnntttteeeeggggeeeerrrr with value zero (0).
  33.  
  34.               RRRRWWWWIIIInnnntttteeeeggggeeeerrrr(int i);
  35.  
  36.  
  37.      Construct an RRRRWWWWIIIInnnntttteeeeggggeeeerrrr with value iiii.  Serves as a type conversion from
  38.      iiiinnnntttt.
  39.  
  40. TTTTyyyyppppeeee CCCCoooonnnnvvvveeeerrrrssssiiiioooonnnn
  41.               operator
  42.           iiiinnnntttt();
  43.  
  44.  
  45.      Type conversion to iiiinnnntttt.
  46.  
  47. PPPPuuuubbbblllliiiicccc MMMMeeeemmmmbbbbeeeerrrr FFFFuuuunnnnccccttttiiiioooonnnnssss
  48.               RWspace
  49.           bbbbiiiinnnnaaaarrrryyyySSSSttttoooorrrreeeeSSSSiiiizzzzeeee() const;
  50.  
  51.  
  52.      Returns the number of bytes necessary to store the object using the
  53.      global function:
  54.  
  55.               RWFile& ooooppppeeeerrrraaaattttoooorrrr<<<<<<<<(RWFile&, const RWInteger&);
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. RRRRWWWWIIIInnnntttteeeeggggeeeerrrr((((3333CCCC++++++++))))                                                RRRRWWWWIIIInnnntttteeeeggggeeeerrrr((((3333CCCC++++++++))))
  71.  
  72.  
  73.  
  74.               int
  75.           vvvvaaaalllluuuueeee() const;
  76.  
  77.  
  78.      Returns the value of the RRRRWWWWIIIInnnntttteeeeggggeeeerrrr.
  79.  
  80.               int
  81.           vvvvaaaalllluuuueeee(int newval);
  82.  
  83.  
  84.      Changes the value of the RRRRWWWWIIIInnnntttteeeeggggeeeerrrr to nnnneeeewwwwvvvvaaaallll and returns the old value.
  85.  
  86. RRRReeeellllaaaatttteeeedddd GGGGlllloooobbbbaaaallll OOOOppppeeeerrrraaaattttoooorrrrssss
  87.               ostream&
  88.           ooooppppeeeerrrraaaattttoooorrrr<<<<<<<<(ostream& o, const RWInteger& x);
  89.  
  90.  
  91.      Output xxxx to oooossssttttrrrreeeeaaaammmm oooo.
  92.  
  93.               istream&
  94.           ooooppppeeeerrrraaaattttoooorrrr>>>>>>>>(istream& i, RWInteger& x);
  95.  
  96.  
  97.      Input xxxx from iiiissssttttrrrreeeeaaaammmm iiii.
  98.  
  99.               RWvostream&
  100.           ooooppppeeeerrrraaaattttoooorrrr<<<<<<<<(RWvostream&, const RWInteger& x);
  101.           RWFile&
  102.           ooooppppeeeerrrraaaattttoooorrrr<<<<<<<<(RWFile&,     const RWInteger& x);
  103.  
  104.  
  105.      Saves the RRRRWWWWIIIInnnntttteeeeggggeeeerrrr xxxx to a virtual stream or RRRRWWWWFFFFiiiilllleeee, respectively.
  106.  
  107.               RWvistream&
  108.           ooooppppeeeerrrraaaattttoooorrrr>>>>>>>>(RWvistream&, RWInteger& x);
  109.           RWFile&
  110.           ooooppppeeeerrrraaaattttoooorrrr>>>>>>>>(RWFile&,     RWInteger& x);
  111.  
  112.  
  113.      Restores an RRRRWWWWIIIInnnntttteeeeggggeeeerrrr into xxxx from a virtual stream or RRRRWWWWFFFFiiiilllleeee,
  114.      respectively, replacing the previous contents of xxxx.
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.